<script setup>
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
// #ifdef APP-PLUS
import recorderManager from "@/utils/recorderManager"
// #endif

onLaunch(() => {
	console.log('App Launch')
})
onShow(() => {
	console.log('App Show')
	// #ifdef APP-PLUS
	// 初始化录音监听
	recorderManager.initListeners()
	// #endif
})
onHide(() => {
	console.log('App Hide')
})
</script>

<style>
/*每个页面公共css */
@import "@/static/iconfont.css";
.primary-btn {
	color: #fff;
	
	background: linear-gradient(135deg, #2196F3, #21CBF3);
	transition: all 0.3s ease;
	&:active {
		background: linear-gradient(135deg, #1b8bf3, #1bc5f3);
	}
}
</style>
